package com.brid.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.*;
import org.springframework.validation.annotation.Validated;

import java.util.Date;

/**
 * @Author: sijunqiang
 * @Date: 2020/4/23 17:24
 * @Description: 测试使用的pojo
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class UserDTO {

    private String name;

    private Integer age;

    @JsonIgnore
    private String sex;

    @JsonIgnore
    private String address;


    @JSONField(name = "爸爸")
    private String parent;

    @JSONField(name = "儿子")
    private String son;


    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date date;



    //办理所需资料内容
    private String handlInfoCode;

    //办理所需资料的地址
    private String handlInfoImgCode;



}
